{#{% if power['spare'] is defined %}#}
{#<div id="menu_spare">#}
    {#<div><a onclick="obj.funObj().openSpareList()">使用</a></div>#}
    {#<div><a onclick="obj.funObj().doneSpareUsed()">归还</a></div>#}
{#</div>#}
{#{% endif %}#}
<div id="menu_tablet">
    {% if power['spare'] %}
        <div onclick="obj.funObj().openSpareList()"><a>使用备用机</a></div>
        <div onclick="obj.funObj().doneSpareUsed()"><a>归还备用机</a></div>
    {% endif %}
    <div class="menu-sep"></div>
    {% if power['auth'] %}
        <div onclick="obj.funObj().authTablet()"><a>认证</a></div>
    {% endif %}
</div>
{% if power['status'] %}
<div id="menu_status">
    <div><a onclick="obj.funObj().setHistory(false)">设为正常</a></div>
    <div><a onclick="obj.funObj().setHistory(true)">设为历史</a></div>
</div>
{% endif %}
<div id="menu_more">
    {% if power['group'] %}
        <div onclick="obj.funObj().viewAppGroup()"><a>查看应用组</a></div>
    {% endif %}
    {% if power['assist'] %}
        <div onclick="obj.funObj().startAssist()"><a>协助</a></div>
    {% endif %}
    {% if power['random'] %}
        <div onclick="obj.funObj().setRandomPwd()"><a>设置随机密码</a></div>
        <div onclick="obj.funObj().cleanRandomPwd()"><a>清除随机密码</a></div>
    {% endif %}
</div>
<div id="menu_use_type">
    {% if power['useType'] %}
        <div onclick="obj.funObj().useType(1)"><a>正式</a></div>
        <div onclick="obj.funObj().useType(2)"><a>测试</a></div>
        <div onclick="obj.funObj().useType(3)"><a>体验</a></div>
        <div onclick="obj.funObj().useType(4)"><a>临时</a></div>
        <div onclick="obj.funObj().useType(5)"><a>培训</a></div>
    {% endif %}
</div>
<div id="menu_set">
    {% if power['userSign'] %}
        <div>
            <span>签收</span>
            <div>
                <div onclick="obj.funObj().setSignInData(1, 1)"><a>开启</a></div>
                <div onclick="obj.funObj().setSignInData(1, 0)"><a>关闭</a></div>
            </div>
        </div>
        <div>
            <span>协议</span>
            <div>
                <div onclick="obj.funObj().setSignInData(2, 1)"><a>开启</a></div>
                <div onclick="obj.funObj().setSignInData(2, 0)"><a>关闭</a></div>
            </div>
        </div>
        <div>
            <span>配件</span>
            <div>
                <div onclick="obj.funObj().setSignInData(3, 1)"><a>开启</a></div>
                <div onclick="obj.funObj().setSignInData(3, 0)"><a>关闭</a></div>
            </div>
        </div>
    {% endif %}
</div>
<div id="menu_apply">
    <div onclick="obj.funObj().changeSchool()"><a>申请转校</a></div>
</div>